#define _CRT_SECURE_NO_WARNINGS 1
#include<stdio.h>

int main()
{
	int r;
	float v;

	scanf("%d", &r);
	v = (4.0 / 3.0) * 3.14 * r * r * r;

	printf("%f", v);

	return 0;
}